package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;

/**
 * 火化业务表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "CremationEntity", name = "cremation", comment = "火化业务表")
public class CremationEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 火化炉类型编码
     */
    @MyColumn(value = "furnaceTypeCode", name = "furnace_type_code", comment = "火化炉类型编码", required = true)
    private Integer furnaceTypeCode;

    /**
     * 火化炉外键
     */
    @MyColumn(value = "furnaceId", name = "furnace_id", comment = "火化炉外键")
    private Integer furnaceId;

    /**
     * 是否预约
     */
    @MyColumn(value = "asAppointment", name = "as_appointment", comment = "是否预约", required = true)
    private Integer asAppointment;

    /**
     * 预约日期
     */
    @MyColumn(value = "appointmentDate", name = "appointment_date", comment = "预约日期")
    private Date appointmentDate;

    /**
     * 预约时间段
     */
    @MyColumn(value = "appointmentTimeSegment", name = "appointment_time_segment", comment = "预约时间段")
    private String appointmentTimeSegment;

    /**
     * 实际开始时间
     */
    @MyColumn(value = "realityStartTime", name = "reality_start_time", comment = "实际开始时间")
    private Date realityStartTime;

    /**
     * 实际冷却时间
     */
    @MyColumn(value = "realityCoolingTime", name = "reality_cooling_time", comment = "实际冷却时间")
    private Date realityCoolingTime;

    /**
     * 实际完成时间
     */
    @MyColumn(value = "realityFinishTime", name = "reality_finish_time", comment = "实际完成时间")
    private Date realityFinishTime;

    /**
     * 火化证号
     */
    @MyColumn(value = "cremationNo", name = "cremation_no", comment = "火化证号")
    private String cremationNo;

    /**
     * 流程状态
     */
    @MyColumn(value = "processStateCode", name = "process_state_code", comment = "流程状态", required = true)
    private Integer processStateCode;

    /**
     * 是否活动任务
     */
    @MyColumn(value = "asActive", name = "as_active", comment = "是否活动任务", required = true)
    private Integer asActive;

    /**
     * 规则数量
     */
    @MyColumn(value = "ruleNumber", name = "rule_number", comment = "规则数量", required = true)
    private BigDecimal ruleNumber;

    /**
     * 规则单位
     */
    @MyColumn(value = "ruleUnit", name = "rule_unit", comment = "规则单位", required = true)
    private String ruleUnit;

    /**
     * 规则编码
     */
    @MyColumn(value = "ruleCode", name = "rule_code", comment = "规则编码")
    private String ruleCode;

    /**
     * 规则备注
     */
    @MyColumn(value = "ruleRemark", name = "rule_remark", comment = "规则备注")
    private String ruleRemark;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;

    /**
     * 随机码
     */
    @MyColumn(value = "randomCode", name = "random_code", comment = "随机码")
    private String randomCode;

    /**
     * 费用外键
     */
    @MyColumn(value = "chargeId", name = "charge_id", comment = "费用外键")
    private Integer chargeId;

    /**
     * 是否取走骨灰
     */
    @MyColumn(value = "asTakeAsh", name = "as_take_ash", comment = "是否取走骨灰", required = true)
    private Integer asTakeAsh;

    /**
     * 骨灰处理方式编码
     */
    @MyColumn(value = "ashHandleTypeCode", name = "ash_handle_type_code", comment = "骨灰处理方式编码")
    private Integer ashHandleTypeCode;

    /**
     * 骨灰去向编码
     */
    @MyColumn(value = "ashWhereaboutsCode", name = "ash_whereabouts_code", comment = "骨灰去向编码")
    private Integer ashWhereaboutsCode;

    /**
     * 是否人证比对
     */
    @MyColumn(value = "asRecognition", name = "as_recognition", comment = "是否人证比对")
    private Integer asRecognition;


    public String getBusinessCode() {
        return businessCode;
    }

    public CremationEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getFurnaceTypeCode() {
        return furnaceTypeCode;
    }

    public CremationEntity setFurnaceTypeCode(Integer furnaceTypeCode) {
        this.furnaceTypeCode = furnaceTypeCode;
        return this;
    }

    public Integer getFurnaceId() {
        return furnaceId;
    }

    public CremationEntity setFurnaceId(Integer furnaceId) {
        this.furnaceId = furnaceId;
        return this;
    }

    public Integer getAsAppointment() {
        return asAppointment;
    }

    public CremationEntity setAsAppointment(Integer asAppointment) {
        this.asAppointment = asAppointment;
        return this;
    }

    public Date getAppointmentDate() {
        return appointmentDate;
    }

    public CremationEntity setAppointmentDate(Date appointmentDate) {
        this.appointmentDate = appointmentDate;
        return this;
    }

    public String getAppointmentTimeSegment() {
        return appointmentTimeSegment;
    }

    public CremationEntity setAppointmentTimeSegment(String appointmentTimeSegment) {
        this.appointmentTimeSegment = appointmentTimeSegment;
        return this;
    }

    public Date getRealityStartTime() {
        return realityStartTime;
    }

    public CremationEntity setRealityStartTime(Date realityStartTime) {
        this.realityStartTime = realityStartTime;
        return this;
    }

    public Date getRealityCoolingTime() {
        return realityCoolingTime;
    }

    public CremationEntity setRealityCoolingTime(Date realityCoolingTime) {
        this.realityCoolingTime = realityCoolingTime;
        return this;
    }

    public Date getRealityFinishTime() {
        return realityFinishTime;
    }

    public CremationEntity setRealityFinishTime(Date realityFinishTime) {
        this.realityFinishTime = realityFinishTime;
        return this;
    }

    public String getCremationNo() {
        return cremationNo;
    }

    public CremationEntity setCremationNo(String cremationNo) {
        this.cremationNo = cremationNo;
        return this;
    }

    public Integer getProcessStateCode() {
        return processStateCode;
    }

    public CremationEntity setProcessStateCode(Integer processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public Integer getAsActive() {
        return asActive;
    }

    public CremationEntity setAsActive(Integer asActive) {
        this.asActive = asActive;
        return this;
    }

    public BigDecimal getRuleNumber() {
        return ruleNumber;
    }

    public CremationEntity setRuleNumber(BigDecimal ruleNumber) {
        this.ruleNumber = ruleNumber;
        return this;
    }

    public String getRuleUnit() {
        return ruleUnit;
    }

    public CremationEntity setRuleUnit(String ruleUnit) {
        this.ruleUnit = ruleUnit;
        return this;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public CremationEntity setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
        return this;
    }

    public String getRuleRemark() {
        return ruleRemark;
    }

    public CremationEntity setRuleRemark(String ruleRemark) {
        this.ruleRemark = ruleRemark;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public CremationEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public CremationEntity setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }

    public Integer getChargeId() {
        return chargeId;
    }

    public CremationEntity setChargeId(Integer chargeId) {
        this.chargeId = chargeId;
        return this;
    }

    public Integer getAsTakeAsh() {
        return asTakeAsh;
    }

    public CremationEntity setAsTakeAsh(Integer asTakeAsh) {
        this.asTakeAsh = asTakeAsh;
        return this;
    }

    public Integer getAshHandleTypeCode() {
        return ashHandleTypeCode;
    }

    public CremationEntity setAshHandleTypeCode(Integer ashHandleTypeCode) {
        this.ashHandleTypeCode = ashHandleTypeCode;
        return this;
    }

    public Integer getAshWhereaboutsCode() {
        return ashWhereaboutsCode;
    }

    public CremationEntity setAshWhereaboutsCode(Integer ashWhereaboutsCode) {
        this.ashWhereaboutsCode = ashWhereaboutsCode;
        return this;
    }

    public Integer getAsRecognition() {
        return asRecognition;
    }

    public CremationEntity setAsRecognition(Integer asRecognition) {
        this.asRecognition = asRecognition;
        return this;
    }
}